home *** CD-ROM | disk | FTP | other *** search
- Path: f411.n201!not-for-mail
- Newsgroups: comp.sys.cbm
- X-Comment-To: William Nolan
- From: Pontus Berg <Pontus.Berg@p71.anet.canit.se>
- Date: Fri, 01 Mar 96 23:49:35 +0100
- Subject: Programming (assembler) Question
- Message-ID: <825745775@p71.f411.n201.z2.ftn>
- References: <2946196992@andrew.cmu.edu>
- Organization: BoArDgasm, Farsta, Sweden
- X-FTN-AREA: CANIT_COMP_SYS_CBM
- X-FTN-MSGID: 2:201/411.71 3137e16f
- X-FTN-REPLY: andrew.cmu.edu af9b6600
- X-FTN-CHRS: IBMPC 2
- X-FTN-Tearline: Spot 1.3a #676
- X-FTN-Origin: BoArDgasm, Farsta, Sweden (2:201/411.71)
- X-FTN-SEEN-BY: 201/411
- X-FTN-PATH: 201/411
- X-FTN-PATH: 201/411
-
- In a message of 01 Mar 96 William Nolan wrote to All:
-
- WN> I see what you are saying about putting all the packed data after the
- WN> code and then unpacking it to the correct places -- good idea. I still
- WN> have to learn which packers to use, how they work etc. Got any
- WN> reccomendations? (You were right, I am including all the data into the
- WN> main source, very sloppy I know but at this point it didn't bother me.
- WN> As I go on though I'll start organizing better).
-
- There are two ways to go for a packer! You can assembler to memory and save out
- the entire hunk (with zerofilled memory in between) or you can save each piece
- of "active" data/code separately!
-
- The "one hunk" packers are normally so much better than the linkers so I'd
- recommend this actually. There are linkers that makes the segments into one big
- file with lots of zeros in between; One that springs to mind is "Exterminator"
- which I have right here if you want it. It needs a REU though...
-
- I'd like to stress that the zeros in between are REALLY important for
- minimizing the end result. Zeros compress into the nothing they are ;-) but
- "garbage" data is really so much harder to perform decent packresults on!
-
- )==========================================================(
- ) o/ Bacchus@FairLight.COM Fido: 2:201/411.71 (
- ) (# I'm a "geek tool" so ask about emulators elsewhere! (
- )=/7=======================================================(
-
- ... Marx got ONE thing - Religion is an opium for the people
- (Pontus Berg)
-